package com.hnevc.caoliuye;

import java.util.Scanner;

public class Homework {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入正方体的边长：");
        int i = sc.nextInt(); //键入边长
        int y= i * i * i; //计算体积
        System.out.println("正方体的体积为：" + y);
    }
}
